package org.wuhong.service;

import com.wuhong.entity.Accounts;
import com.wuhong.entity.Catalogue;
import com.wuhong.entity.Files;
import com.wuhong.result.ResultData;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**

 * @Description TODO
 * @Author director吴
 * @Date 2022/2/10 11:40
 * @Version 1.0
 **/

public interface FilesService {

    //保存文件
    public ResultData<Files> saveFile(MultipartFile file);

    //保存文件
    public ResultData<Files> saveFileIo(MultipartFile file, Accounts accounts,String folderId) throws Exception;


    public ResultData<List<Files>> getFileListByUserId(String userId);

    public ResultData<List> getFilesInfo(String userId);



}
